package com.insuremonitor.system.service;

import com.insuremonitor.common.core.domain.AjaxResult;
import com.insuremonitor.system.domain.FrontInsureConfigDeduction;

import java.util.List;

/**
 * 保险信息免赔Service接口
 * 
 * @author ruoyi
 * @date 2023-11-21
 */
public interface IFrontInsureConfigDeductionService 
{
    /**
     * 查询保险信息免赔
     * 
     * @param deductionId 保险信息免赔主键
     * @return 保险信息免赔
     */
    public FrontInsureConfigDeduction selectFrontInsureConfigDeductionByDeductionId(Long deductionId);

    /**
     * 查询保险信息免赔列表
     * 
     * @param frontInsureConfigDeduction 保险信息免赔
     * @return 保险信息免赔集合
     */
    public List<FrontInsureConfigDeduction> selectFrontInsureConfigDeductionList(FrontInsureConfigDeduction frontInsureConfigDeduction);

    /**
     * 新增保险信息免赔
     * 
     * @param frontInsureConfigDeduction 保险信息免赔
     * @return 结果
     */
    public AjaxResult insertFrontInsureConfigDeduction(FrontInsureConfigDeduction frontInsureConfigDeduction);

    /**
     * 修改保险信息免赔
     * 
     * @param frontInsureConfigDeduction 保险信息免赔
     * @return 结果
     */
    public int updateFrontInsureConfigDeduction(FrontInsureConfigDeduction frontInsureConfigDeduction);

    /**
     * 批量删除保险信息免赔
     * 
     * @param deductionIds 需要删除的保险信息免赔主键集合
     * @return 结果
     */
    public int deleteFrontInsureConfigDeductionByDeductionIds(Long[] deductionIds);

    /**
     * 删除保险信息免赔信息
     * 
     * @param deductionId 保险信息免赔主键
     * @return 结果
     */
    public int deleteFrontInsureConfigDeductionByDeductionId(Long deductionId);
}
